<template>
  <div class="container">
    <div class="mui-scroll-wrapper mui-content">
      <div class="mui-scroll">
        <div class="mui-card">
          <div class="mui-card-content">
            <div class="mui-card-content-inner mine-header">
              <connectnewfriends></connectnewfriends>
            </div>
          </div>
        </div>
         <div class="mui-card">
          <div class="mui-card-content">
            <div class="mui-card-content-inner mine-header">
              <connectuser></connectuser>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import connectuser from './ConnectUser'
  import connectnewfriends from './ConnectNewFriends'
  export default {
    components: {
      connectuser,
      connectnewfriends
    },
    mounted() {
      this.muiScroll()
    },
    methods: {
      muiScroll() {
        // mui滚动函数
        this.$immui('.mui-scroll-wrapper').scroll()
      }
    }
  }
</script>

<style lang='scss' scoped>
  .container{
    z-index: 3;
  }
  .mui-scroll-wrapper {
    top: 40px;
    bottom: 53px;
  }
  .mui-card{
    margin: 10px 0;
  }
</style>
